package ipdesk.model.analysis.dao;

import ipdesk.model.analysis.bean.AnalysisConsultBean;

import java.util.List;
import java.util.Map;

import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.template.SqlMapDaoTemplate;
import com.opensymphony.xwork2.ActionContext;

public class AnalysisConsultImpl extends SqlMapDaoTemplate implements IAnalysisConsult {

	ActionContext context = ActionContext.getContext();
	Map<String, String> session = (Map<String, String>)context.getSession();
	
	public AnalysisConsultImpl(DaoManager daoManager) {
		super(daoManager);
	}


	@SuppressWarnings("unchecked")
	public List<AnalysisConsultBean> getAnalysisConsultList(AnalysisConsultBean analysisConsultBean) {
		List<AnalysisConsultBean> analysisConsultList = this.queryForList("consult.getAnalysisConsultList", analysisConsultBean);
		return analysisConsultList;
	}



}
